package spring.cloud.tasks.executor.name_space.executor.task.task_item;

import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Setter
@Getter
public final class TaskItemExecuteInfo {


    private int taskItemIndex;


    private Long lastBeginTime;

    private Long lastCompleteTime;


    private String message;


    public TaskItemExecuteInfo(int taskItemIndex) {
        this.taskItemIndex = taskItemIndex;
    }

    public TaskItemExecuteInfo(int taskItemIndex, Long lastBeginTime) {
        this.taskItemIndex = taskItemIndex;
        this.lastBeginTime = lastBeginTime;
    }


}
